# Generated by Django 4.1.2 on 2022-10-18 15:16

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0003_remove_font_weight_fontfamily_free'),
    ]

    operations = [
        migrations.CreateModel(
            name='UnicodeRange',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('start', models.CharField(max_length=5)),
                ('end', models.CharField(max_length=5)),
                ('name', models.CharField(blank=True, default='', max_length=64)),
            ],
            options={
                'unique_together': {('start', 'end')},
            },
        ),
        migrations.RemoveField(
            model_name='font',
            name='family',
        ),
        migrations.RemoveField(
            model_name='font',
            name='style',
        ),
        migrations.DeleteModel(
            name='FontFamily',
        ),
        migrations.AddField(
            model_name='fontfile',
            name='unicode_range',
            field=models.ManyToManyField(related_name='files', to='core.unicoderange'),
        ),
    ]
